package com.ydd.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class YddArticle implements Serializable {


    private Integer id;

    private String title;

    private String author;

    private String keywords;

    private String description;

    private String content;

    private String pic;
    private Long click;


    private Integer ishot;

    private Integer istop;

    @JsonProperty("create_date")
    private Long createDate;

    @JsonProperty("update_date")
    private Long updateDate;

    private Integer cateid;

    private String tags;

    private Integer status;

    private Integer lovenum;

    private String userId;

    @JsonProperty("default_data")
    private String defaultData;


}
